<div class="tags">
<%
SQL = "SELECT PG_TAGS, PG_OWNER, PG_ID_ARTICLE FROM TB_PAGES WHERE PG_ID = " & testSQLinj(REQ_PAGE) & " ORDER BY PG_ID"
Set tag = objConn.Execute(SQL)
if not tag.EOF then
		Set allpg = objConn.Execute("SELECT * FROM TB_PAGES WHERE PG_ID_ARTICLE = " & tag("PG_ID_ARTICLE")& " ORDER BY PG_ID")
		prenome = ""
		preid = ""
		found = false

		Do while not allpg.EOF
	
			if found = true then
				response.Write "<a style=""float:right"" href=""default.asp?modulo=pages&amp;idpage="&allpg("PG_ID")&""">" & allpg("PG_NAME") & " &raquo; </a>"
				found = false
			end if
			
			if trim(allpg("PG_ID")) = REQ_PAGE then
				found = true
			end if
			
			if found = false then 
				prenome = allpg("PG_NAME")
				preid = allpg("PG_ID")		
			end if
			
			if found = true and prenome <> "" then
				response.Write "<a style=""float:left"" href=""default.asp?modulo=pages&amp;idpage="&preid&""">&laquo; " & prenome & "</a>"
			end if
			
			allpg.MoveNext
		Loop
	Set allpg = Nothing
	response.Write "<br style=""clear:both"" /><br />"
	response.Write "<b>" & traduci("ling_pages_01") & "</b> "
	if(trim(tag("PG_TAGS")) <> "") then
		allTag = split(tag("PG_TAGS"), ",")
		for each tg in allTag
			response.Write tg & " - "
		next
	end if
end if
response.Write "<br /><b>" & traduci("ling_pages_02") & "</b> " & username(tag("PG_OWNER"))
idarticolo = tag("PG_ID_ARTICLE")
Set tag = Nothing
%>
</div>
<br />
<script language="javascript" type="text/javascript">
//Funzione per la gestione dei blocchi
$j(document).ready(function(){

 $j("div.shareit").css({ display: "none" });
 
 $j("img.imgshare").click(function(){
 	if($j("div.shareit").css("display") == "none")
		$j("div.shareit").addClass("shareit").show("slow");
	else
		$j("div.shareit").css({ display: "none"});
 });
 
});
</script>
<img alt="<%=traduci("ling_content_06")%>" class="imgshare" style="float:left" src="themes/SHARE/share-this/share-icon-16x16.gif" />
<br style="clear:both" />
<div class="shareit">
	<a href="http://del.icio.us/post?url=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="del.icio.us" class="imgshare" style="float:left" src="themes/SHARE/share-this/delicious.gif" />
	</a>
	<a href="http://digg.com/submit?phase=2&amp;url=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="digg" class="imgshare" style="float:left" src="themes/SHARE/share-this/digg.gif" />
	</a>
	<a href="http://furl.net/storeIt.jsp?u=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="furl" class="imgshare" style="float:left" src="themes/SHARE/share-this/furl.gif" />
	</a>
	<a href="http://www.netscape.com/submit/?U=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="netscape" class="imgshare" style="float:left" src="themes/SHARE/share-this/netscape.gif" />
	</a>
	<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="yahoo" class="imgshare" style="float:left" src="themes/SHARE/share-this/yahoo_myweb.gif" />
	</a>
	<a href="http://www.stumbleupon.com/submit?url=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="stumbleupon" class="imgshare" style="float:left" src="themes/SHARE/share-this/stumbleupon.gif" />
	</a>
	<a href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="google" class="imgshare" style="float:left" src="themes/SHARE/share-this/google_bmarks.gif" />
	</a>
	<a href="http://www.technorati.com/faves?add=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="technorati" class="imgshare" style="float:left" src="themes/SHARE/share-this/technorati.gif" />
	</a>
	<a href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="blinklist" class="imgshare" style="float:left" src="themes/SHARE/share-this/blinklist.gif" />
	</a>
	<a href="http://www.newsvine.com/_wine/save?u=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="newsvine" class="imgshare" style="float:left" src="themes/SHARE/share-this/newsvine.gif" />
	</a>
	<a href="http://ma.gnolia.com/bookmarklet/add?url=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="magnolia" class="imgshare" style="float:left" src="themes/SHARE/share-this/magnolia.gif" />
	</a>
	<a href="http://reddit.com/submit?url=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="reddit" class="imgshare" style="float:left" src="themes/SHARE/share-this/reddit.gif" />
	</a>
	<a href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;mkt=en-us&amp;url=http://<%=system_url%>/default.asp?modulo=pages&amp;top=1&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="msn live" class="imgshare" style="float:left" src="themes/SHARE/share-this/tailrank.gif" />
	</a>
	<a href="http://tailrank.com/share/?link_href=http://<%=system_url%>/default.asp?modulo=pages&amp;idpage=<%=testSQLinj(REQ_PAGE)%>">
	<img alt="tailrank" class="imgshare" style="float:left" src="themes/SHARE/share-this/windows_live.gif" /><br />
	</a>
</div>